<%@ include file="/WEB-INF/jsp/includes.jsp"%>
<div id="content">
	<%@ include file="../common/hello.jsp"%>
	<!-- Add function here !!! -->
	<div id="maincontent">
		<p class="title-function">TRANSFER BALANCE</p>
		<table class="tblDetail">
			<form method="post" action="ExternalTrans1"
				onsubmit="return externalForm1();">
				<tr>
					<td class="tblLeft"><label for="account"><strong>ACCOUNT
								ID</strong></label></td>
					<td style="text-transform: uppercase"><select name="account"
						id="account">
							<c:forEach items="${listAccId}" var="account">
								<c:if test="${accSend == account.accId}">
									<option selected="selected" value="${accSend}">${accSend}</option>
								</c:if>
								<option value="${account.accId}">${account.accId}</option>
							</c:forEach>
							<select></td>
				</tr>
				<tr>
					<td class="tblLeft"></td>
					<td></td>
				</tr>

				<tr>
					<td class="tblLeft"><label for="accountRecieve">ACCOUNT
							RECIEVE</label></td>
					<td><input name="accountRecieve" type="text"
						id="accountRecieve" maxlength="12" value="${accRec}" /></td>
				</tr>
				<tr>
					<td class="tblLeft"></td>
					<td><div style="color: red" id="errAccRec"></td>
				</tr>
				<tr>
					<td class="tblLeft">AMOUNT</td>
					<td><input name="amount" type="text" id="amount"
						maxlength="11" value="${amount1}" /> VND</td>

				</tr>
				<tr>
					<td class="tblLeft"></td>
					<td><div style="color: red" id="errAmount">${err}</td>
				</tr>
				<tr>
					<td class="tblLeft"></td>
					<td><a style="text-decoration: none;" href="mainpage"><input
							type="button" value="BACK" /> </a> <input type="submit"
						name="action" id="action" value="CONFIRM" /></td>
				</tr>
			</form>
		</table>

	</div>

</div>
</div>
